<?php

$pruneamount = 0;
if (isset($_REQUEST['pruneamount']))
	$pruneamount = $_REQUEST['pruneamount'];

$tuser = "";
if (isset($_REQUEST['tuser']))
	$tuser = $_REQUEST['tuser'];


$suser = "";
if (isset($_REQUEST['suser']))
	$suser = $_REQUEST['suser'];


//need to set the value for user pruning.

//create or modify a file with the targetuser as the file name

$topdir = "/home/boostpo1/public_html/chirplace.com/usr/".$suser."/prune/".$tuser.".pne";
$fh = fopen($topdir, 'w');
fwrite($fh, $pruneamount);
fclose($fh);

header("Location: index.php");
?> 
